package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.zh.domain.Model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @TableName teams
 */
@TableName(value = "teams")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class Team extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("团队id")
    private Integer id;
    @ApiModelProperty("团队名称")
    private String name;
    @ApiModelProperty("团队描述")
    private String description;
    @ApiModelProperty("团队所属人id")
    private Integer ownerId;
    @ApiModelProperty("最大成员数")
    private int maxMember;
}